﻿
using System;
using System.Collections.Generic;

namespace MVCms.Core.Entities
{
    [Serializable]
    public class Plugin : BaseEntity
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="Plugin"/> class.
        /// </summary>
        public Plugin()
        {
            this.PluginModules = new List<PluginModule>();
        }

        /// <summary>
        /// Gets or sets the plugin Name
        /// </summary>
        /// <value>The name.</value>
        public virtual string Name { get; set; }
        /// <summary>
        /// Gets or sets the all the modules included in this plugin
        /// </summary>
        /// <value>The plugin modules.</value>
        public virtual IList<PluginModule> PluginModules { get; set; }
    }
}
